{% extends 'base.html' %}

{% block contents %}
<fieldset>
  
  <div class="fieldset_header">Your profile</div>

<form action="." method="post">
Homepage:<input type="text" name="homepage" value="{{dude.homepage_}}"/><br/>
Nickname:<input type="text" name="nickname" value="{{dude.nickname_}}"/><br/>
Location:<input type="text" name="location" value="{{dude.location_}}"/><br/>

{% if dude.recieve_newsletter %}
<input type="checkbox" name="recieve_newsletter" checked/>
{% else %}
<input type="checkbox" name="recieve_newsletter"/>
{% endif %}Recieve newsletter
<br/>

{% if dude.enable_fancy_stuff %}<input type="checkbox" name="enable_fancy_stuff" checked/>
{% else %}
<input type="checkbox" name="enable_fancy_stuff"/>
{% endif %}Enable fancy stuff

<P/>
Comment:<br/>
<textarea cols=100 rows=10 name="comments">{{dude.comments_}}</textarea>
<P/>
Standard email signature:<br/>
<textarea cols=100 rows=10 name="standard_email_sign">{{dude.standard_email_sign_}}</textarea>
<P/>
<input type="submit" value="Update profile" />

</form>
</fieldset>
  
{% endblock %}